//
//  YDAMineLoginTopView.h
//  siyanone
//
//  Created by LK-IOS on 2018/3/26.
//  Copyright © 2018年 LK-News. All rights reserved.
//

#import <UIKit/UIKit.h>

//显示数据类型
typedef NS_ENUM(NSUInteger, SYAMineLoginTopViewClickStyle) {
    
    SYAMineLoginTopViewClickAcc,//0   deafault
};

@class YDAMineLoginTopView;

@protocol SYAMineLoginTopViewDelegate <NSObject>

@optional

/**
 view上面的事件触发
 
 @param topView view
 @param style 点击类型
 */
-(void)aMineLoginTopView:(YDAMineLoginTopView *)topView clickStyle:(SYAMineLoginTopViewClickStyle)style;


@end

@interface YDAMineLoginTopView : UIView


@property (nonatomic , copy) NSDictionary *dict;

+(instancetype)mineLoginTopViewInitWithFrame:(CGRect)frame andDict:(NSDictionary *)dict;

@property (nonatomic , weak)id<SYAMineLoginTopViewDelegate>delegate;




@end
